<template>
  <div>
    <h1>useSlots和useAttrs</h1>    
    <Son class="cls" id="son01" @change="changFn">
      <template #default>
        <div>我是默认插槽的内容</div>
      </template>
      <template #icon>
        <div>我是icon插槽的内容</div>
      </template>
    </Son>
  </div>
</template>

<script setup>
import {ref,onMounted} from "vue"
import Son from "./Son.vue";

function changFn(){

}

</script>

<style scoped>

</style>